.class Lcom/opongo/android/custom/SpicyDealsActivity$2;
.super Ljava/lang/Object;
.source "SpicyDealsActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opongo/android/custom/SpicyDealsActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/opongo/android/custom/SpicyDealsActivity;


# direct methods
.method constructor <init>(Lcom/opongo/android/custom/SpicyDealsActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/opongo/android/custom/SpicyDealsActivity$2;->this$0:Lcom/opongo/android/custom/SpicyDealsActivity;

    .line 125
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 6
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 128
    iget-object v3, p0, Lcom/opongo/android/custom/SpicyDealsActivity$2;->this$0:Lcom/opongo/android/custom/SpicyDealsActivity;

    #getter for: Lcom/opongo/android/custom/SpicyDealsActivity;->settings:Landroid/content/SharedPreferences;
    invoke-static {v3}, Lcom/opongo/android/custom/SpicyDealsActivity;->access$4(Lcom/opongo/android/custom/SpicyDealsActivity;)Landroid/content/SharedPreferences;

    move-result-object v3

    const-string v4, "filterDate"

    const/4 v5, 0x0

    invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    .line 129
    .local v1, date:I
    move v2, p2

    .line 131
    .local v2, order:I
    invoke-static {}, Lcom/opongo/android/custom/SpicyDealsActivity;->access$3()Landroid/support/v4/view/PagerAdapter;

    move-result-object v0

    check-cast v0, Lcom/opongo/android/custom/SpicyDealsViewPagerAdapter;

    .line 132
    .local v0, adapter:Lcom/opongo/android/custom/SpicyDealsViewPagerAdapter;
    invoke-virtual {v0, v2, v1}, Lcom/opongo/android/custom/SpicyDealsViewPagerAdapter;->doRefreshWithFilter(II)V

    .line 133
    return-void
.end method
